package org.example._04mybatis.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.example._04mybatis.pojo.User;

@Mapper
public  interface UserMapper {
    @Insert("INSERT INTO user (username,password,nickname,created) " +
            "VALUES (#{username},#{password},#{nickname},#{created})")
    int insert(User user);
}
